package com.ruoyi.system.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ruoyi.system.mapper.LCouponReceiveMapper;
import com.ruoyi.system.domain.LCouponReceive;
import com.ruoyi.system.service.ILCouponReceiveService;

/**
 * 【请填写功能名称】Service业务层处理
 * 
 * @author ruoyi
 * @date 2024-09-07
 */
@Service
public class LCouponReceiveServiceImpl implements ILCouponReceiveService 
{
    @Autowired
    private LCouponReceiveMapper lCouponReceiveMapper;

    /**
     * 查询【请填写功能名称】
     * 
     * @param id 【请填写功能名称】主键
     * @return 【请填写功能名称】
     */
    @Override
    public LCouponReceive selectLCouponReceiveById(Long id)
    {
        return lCouponReceiveMapper.selectLCouponReceiveById(id);
    }

    /**
     * 查询【请填写功能名称】列表
     * 
     * @param lCouponReceive 【请填写功能名称】
     * @return 【请填写功能名称】
     */
    @Override
    public List<LCouponReceive> selectLCouponReceiveList(LCouponReceive lCouponReceive)
    {
        return lCouponReceiveMapper.selectLCouponReceiveList(lCouponReceive);
    }

    /**
     * 新增【请填写功能名称】
     * 
     * @param lCouponReceive 【请填写功能名称】
     * @return 结果
     */
    @Override
    public int insertLCouponReceive(LCouponReceive lCouponReceive)
    {
        return lCouponReceiveMapper.insertLCouponReceive(lCouponReceive);
    }

    /**
     * 修改【请填写功能名称】
     * 
     * @param lCouponReceive 【请填写功能名称】
     * @return 结果
     */
    @Override
    public int updateLCouponReceive(LCouponReceive lCouponReceive)
    {
        return lCouponReceiveMapper.updateLCouponReceive(lCouponReceive);
    }

    /**
     * 批量删除【请填写功能名称】
     * 
     * @param ids 需要删除的【请填写功能名称】主键
     * @return 结果
     */
    @Override
    public int deleteLCouponReceiveByIds(Long[] ids)
    {
        return lCouponReceiveMapper.deleteLCouponReceiveByIds(ids);
    }

    /**
     * 删除【请填写功能名称】信息
     * 
     * @param id 【请填写功能名称】主键
     * @return 结果
     */
    @Override
    public int deleteLCouponReceiveById(Long id)
    {
        return lCouponReceiveMapper.deleteLCouponReceiveById(id);
    }
}
